//
//  HXNotifications.swift
//  Employee
//
//  Created by swordjoy on 2017/3/14.
//  Copyright © 2017年 remotevillage. All rights reserved.
//

import Foundation

extension Notification.Name {
  public struct hxMessage {
    
    /// 更新未读消息图标
    public static let updateUnreadMessageCount = Notification.Name(rawValue: "org.swxc.notification.name.hxMessage.updateUnreadMessageCount")
    public static let updateMessageVCNotice = Notification.Name(rawValue: "org.swxc.notification.name.hxMessage.updateMessageVCNotice")
  }
}

extension Notification.Name {
  public struct updateHome {
    /// 更新首页工单
    public static let updateHomeOrderData = Notification.Name(rawValue: "org.swxc.notification.name.updateHome.updateHomeOrderData")
    /// 更新首页巡检
    public static let updateHomeInspectionData = Notification.Name(rawValue: "org.swxc.notification.name.updateHome.updateHomeInspectionData")
    /// 退出登录后更新首页到默认
    public static let updateHomeToDefaultWhenLogout = Notification.Name(rawValue: "org.swxc.notification.name.updateHome.updateHomeToDefaultWhenLogout")

  }
}

extension Notification.Name {
  public struct network {
    public static let networkChangeHomeShow = Notification.Name(rawValue: "org.swxc.notification.name.network.networkChangeHomeShow")
  }
}

extension Notification.Name {
  public struct inspection {
    public static let updateFunctionTodayInspection = Notification.Name(rawValue: "org.swxc.notification.name.inspection.updateFunctionTodayInspection")
  }
}

// 头像修改成功

extension Notification.Name {
    public struct modify {
        public static let iconSuccess = Notification.Name(rawValue: "org.swxc.notification.name.modify.iconSuccess")
    }
}
